package com.zzyl.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "NursingGrade" ,description = "护理等级表")
public class NursingGrade implements Serializable {
    @ApiModelProperty(value = "主键ID", example = "1")
    private Integer id;

    @ApiModelProperty(value = "等级名称", required = true)
    private String name;

    @ApiModelProperty(value = "护理计划ID", required = true)
    private Integer lplanId; // 注意：通常我们会避免使用下划线，这里为了与数据库字段保持一致而保留

    @ApiModelProperty(value = "护理费用", required = true, example = "120.00")
    private BigDecimal fee;

    @ApiModelProperty(value = "状态（0：禁用，1：启用）", required = true, example = "1")
    private Integer status;

    @ApiModelProperty(value = "等级说明")
    private String description;

    @ApiModelProperty(value = "创建时间", example = "2023-04-01T12:00:00")
    private LocalDateTime createTime; // 注意：这里使用了Java 8的LocalDateTime，你需要根据你的项目需求选择合适的日期时间类型

    @ApiModelProperty(value = "创建人id")
    private Long createBy;

    @ApiModelProperty(value = "更新人id")
    private Long updateBy;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "更新时间", example = "2023-04-01T12:00:00", readOnly = true)
    private LocalDateTime updateTime;
}
